package lec03.pm;

import eq.util.Fraction;

public class AddFractions {
	public static void main(String[] args) {
		Fraction sum = new Fraction();
		for (int i = 1; i <= 20; i++) {
			Fraction cur = new Fraction(1, i);
			sum = sum.add(cur);
		}
		System.out.println(sum);
	}
}
